<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en">
<head>
   <!-- content="text/html;charset=ISO-8859-15" -->
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	  <!-- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> -->
    <title>DARTIES - Tableau de bord du directeur regionale</title>

	<link rel="stylesheet" href="../styles/style.css" type="text/css" media="screen" />
	
    <script type="text/javascript" src="../js/script.js"></script>
	<script type="text/javascript" src="../js/jquery-1.7.1.min.js"></script> 
	<!--<script type="text/javascript" src="../js/menu.js"></script> -->
	<script type="text/javascript" src="../js/tablesorter.js"></script> 
	
	<!-- Pour les graphiques en JQuery -->

	<script type="text/javascript" src="../js/highcharts.js" ></script>
	<script type="text/javascript" src="../js/adapters/mootools-adapter.js" ></script>
	<script type="text/javascript" src="../js/exporting.js"></script>

	
	
		<!-- Pour les graphiques en JQuery: Le Chiffre d'affaire  -->

	<script type="text/javascript">
	Highcharts.visualize = function(table, options) {
				// the categories
				options.xAxis.categories = [];
				$('tbody th', table).each( function(i) {
					options.xAxis.categories.push(this.innerHTML);
				});
				
				// the data series
				options.series = [];
				$('tr', table).each( function(i) {
					var tr = this;
					$('th, td', tr).each( function(j) {
						if (j > 0) { // skip first column
							if (i == 0) { // get the name and init the series
								options.series[j - 1] = { 
									name: this.innerHTML,
									data: []
								};
							} else { // add values
								options.series[j - 1].data.push(parseFloat(this.innerHTML));
							}
						}
					});
				});
				
				var chart = new Highcharts.Chart(options);
			}
				
			// On document ready, call visualize on the datatable.
			$(document).ready(function() {			
				var table = document.getElementById('datatable'),
				options = {
					   chart: {
					      renderTo: 'container',
					      defaultSeriesType: 'column',
						  backgroundColor: 'transparent',
					   },
					   title: {
					      text: 'Palmarès des régions',
						  align: 'center',
						  style: {
								color: '#3E576F',								
								font: 'bold 16px Arial'							
							}
					   },
					   subtitle: {
							text: 'Euros / Janvier 2011 /  Chiffre d\'affaires',
							style: {
								color: '#3E576F',								
								font: 'bold 11px Arial'								
							}
						},
					   
					   legend: {		
							font: 'normal 13px Arial',
							backgroundColor: '#FFFFFF'
						},
					
						credits: {
							enabled: false
						},
					   
					
					   xAxis: {
							 
						  labels: {
							
							rotation: -45,
							align: 'right',							
							style: {
								 font: 'normal 13px Arial'
							}
						}
					   },
					  
					   yAxis: {							
							labels: {
								formatter: function() {
									return this.value +'€';
								}
							},
							title: {
								text: 'CA (€)'
							}
					   },
					   tooltip: {
						
					      formatter: function() {
					         return '<b>'+ this.series.name +'</b><br/>'+this.x.toUpperCase()+'<br/>'+
					            this.y +'€';
					      }
					   }
					   
					};
				
			      					
				Highcharts.visualize(table, options);
			});
	</script>
	<script type="text/javascript">
		window.onload = function(){
			$("#myTable1").tablesorter();
			
			g_globalObject = new JsDatePick({
				useMode:1,
				isStripped:true,
				target:"calendrier"
			});		
			
			g_globalObject.setOnSelectedDelegate(function(){
			});
		};
	</script>
</head>
<body> 
	<div id="page" style="height:900px;">
		<div id="header">
		
		<!--  -->
			<div id="utilisateur">Morvan Jeremy<a href="../index.html" >D&eacute;connexion</a></div>
			
			
			

			
			<div class="cleared"></div>
			<div id="logo-darties">&nbsp </div>
			<div id="site-titre">
				<p class = "titre"><a href="#">Tableau de bord </a></p>
				<p class= "detail">Direction régionale</p>
			</div>
			<div id="logo-iut">&nbsp </div>
			<div id="date_modification">Dernière modification 7 janvier 2012</div>
		
</div> <!-- Fin Div Header -->
		<!-- Onglets -->
		
		
		
		
		<ul id="tabs">
			<li>
				<a href="index.html"  >Palmarès magasin </a>
			</li>
			<li >
				<a href="region.html"  class="active">Palmarès r&eacute;gion</a>
			</li>		
			<li>
				<a href="historique.html" >Historique</a>
			</li>			
			<li>
				<a href="aide.html" >Aide</a>
			</li>
			<li class="options"><img src="../images/header/pdf.png" title="Convertir en PDF"></li>
			<li class="options"><img src="../images/header/imp.png" title="Imprimer"></li>
		</ul>
	
	

			
<!-- MIDDLE -->
		<div id= "middle">
<!-- SIDEBAR -->
<div id="sidebar">
			
				<div class="block">
					<div class="titre">Filtres</div>
					<div class="contenu">
						<table>
							
						<tr>
								<td><span> Region:</span></td>
								<td>
									<select style="width:150px" disabled>
										<option >Nord-Ouest</option>
										<option >Sud-Ouest</option>
										<option >Nord-Est</option>
										<option >Sud-Est</option>
										<option >Region parisienne</option>
									</select>
								</td>
							</tr>
							<tr>
								<td><span> Periode:</span></td>
								<td>
									<select style="width:150px">
										<option >Mois</option>
										<option >Annuel</option>										
										<option >Semestrielle</option>
										<option value="Semestrielle">Trimestrielle</option>
									</select>
								</td>
							</tr>						
								
							<tr>
								<td><span> Mois:</span></td>
								<td>
									<select style="width:150px">
											<option>Janvier</option>
											<option>Fevrier</option>
											<option>Mars</option>
											<option>Avril</option>
											<option>Mai</option>
											<option>Juin</option>
											<option>Juillet</option>
											<option>Aout</option>
											<option>Septembre</option>
											<option>Octobre</option>
											<option>Novembre</option>
											<option>D&eacute;cembre</option>
									</select>
								</td>
							</tr>						
								
							<tr>
								<td><span> Indicateur:</span></td>
								<td>
									<select style="width:150px">
										<option >Tous indicateurs</option>
										<option >Chiffre d'affaires</option>
										<option >Marge brut</option>
										<option >Vente</option>
									</select>
								</td>
							</tr>	
							
							<tr>
								<td><span> Produits:</span></td>
								<td>
									<select style="width:150px" disabled>
										<option >Toutes familles</option>
										<option >Four</option>
										<option >Hifi</option>
										<option >Magneto</option>
									</select>
								</td>
							</tr>
							<tr>
								<td><span> Devise:</span></td>
								<td>
									
										<input type="radio" checked name="devise">€
										<input type="radio"  name="devise">$
									
								</td>
							</tr>								
						</table>
					</div>
				</div><!-- Fin Div Indicateurs -->						
				<div class="cleared"></div>
			
			<!-- BLOCK RECHERCHE -->
				<div class="block">
					<div class="titre"> Recherche </div>
					<div class="contenu">
						<form method="get" id="newsletterform" action="javascript:void(0)">
							<input type="text" value="Recherche" name="email" id="s" style="width: 60%;" onclick="this.value=''"/>						
							<a href="#" onclick="newsletterform.submit();"><img src="../images/contenu/recherche.jpg"  height='15px'></img></a>
							<br></br>
						</form>
					</div>
				</div> <!-- Fin Div Recherche -->
			
		
		
		
				<!-- BLOCK CALENDRIER -->
				<div class="block">
					<div class="titre">Calendrier</div>
					<div class="contenu">
						<div id="calendrier" style="margin:none; width:200px; height:250px;"></div>   
					</div>
				</div> <!-- Fin Div Calendrier -->
				<div class="cleared"></div>
				
			</div><!-- Fin Div Sidebar --> 

<!-- CONTENT  -->
			<div id="content" style="background: url(../images/france/zone_ouest.gif) center  no-repeat; background-size: 80%; ">
			
				
						<div class="one-full" >
						<h1>Palmarès des r&eacute;gions</h1>
						<h2>Euros / Janvier 2011 / Tous indicateurs</h2>
							<!-- DEBUT DU GROS TABLEAU -->
							<table class="tablesorter"  id="myTable1">

							<thead>
							<tr>
								<th >R&eacute;gion</th>
								<th >CA_R</th>
								<th >CA_B</th>
								<th >CA_%</th>
								
								<th >MB_R</th>
								<th >MB_B</th>
								<th >MB_%</th>
								<th >VTS_R</th>
								<th >VTS_B</th>
								<th >VTS_%</th>
							</tr>
							</thead>
							<tbody>
								<tr>
									<td class="gauche">R Paris </td>
									<td>7 501,30 </td>
									<td>19 600,00 </td>
									<td>38,27%</td>
									
									<td>48,70 </td>
									<td>&nbsp;</td>
									<td>&nbsp;</td>
									<td>1 113,00 </td>
									<td>&nbsp;</td>
									<td>&nbsp;</td>
								</tr>
								<tr>
									<td class="gauche">Nord_Est</td>
									<td>52 266,90 </td>
									<td>165 370,00 </td>
									<td>269,79%</td>
									
									<td>449,50 </td>
									<td>&nbsp;</td>
									<td>&nbsp;</td>
									<td>8 317,00 </td>
									<td>&nbsp;</td>
									<td>&nbsp;</td>
								</tr>
								<tr>
									<td class="gauche">Nord_Ouest</td>
									<td>116 038,60 </td>
									<td>336 980,00 </td>
									<td>596,65%</td>
									
									<td>906,40 </td>
									<td>&nbsp;</td>
									<td>&nbsp;</td>
									<td>20 375,00 </td>
									<td>&nbsp;</td>
									<td>&nbsp;</td>
								</tr>
								<tr>
									<td class="gauche">Sud_Est</td>
									<td>76 107,50 </td>
									<td>240 030,00 </td>
									<td>364,82%</td>
									
									<td>616,30 </td>
									<td>&nbsp;</td>
									<td>&nbsp;</td>
									<td>13 465,00 </td>
									<td>&nbsp;</td>
									<td>&nbsp;</td>
								</tr>
								<tr>
									<td class="gauche">Sud Ouest</td>
									<td>49 261,20 </td>
									<td>149 070,00 </td>
									<td>253,10%</td>
									
									<td>318,30 </td>
									<td>&nbsp;</td>
									<td>&nbsp;</td>
									<td>8 553,00 </td>
									<td>&nbsp;</td>
									<td>&nbsp;</td>
								</tr>
								</tbody>
								<tfoot>
								<tr>
									<td class="gauche"> Total</td>
									<td>301 175,50 </td>
									<td>911 050,00 </td>
									<td>1522,62%</td>
									
									<td>2 339,20 </td>
									<td>&nbsp;</td>
									<td>&nbsp;</td>
									<td>51 823,00 </td>
									<td>&nbsp;</td>
									<td>&nbsp;</td>
								</tr>
							</tfoot>
						</table>
							
							
						</div>							
						<div class="cleared"></div>
<br/>
<br/>
<br/>
						<div class="block2"  >
								<div id="container" style="width: 800px; height: 400px; margin: 0 auto"></div>
							</div> <!-- Fin Div left -->
							
							<div class="one-full">
								<table id="datatable" style="display:none;">
								<thead>
									<tr>
										<th></th>
										<th>CA R&eacute;el</th>
										<th>CA Budget</th>
										
									</tr>
								</thead>
								<tbody>
									  <tr>
										<th>R Paris </td>
										<td>7501,30 €</th>
										<td>19600,00 €</td>
									  </tr>
									  <tr>
										<th>Nord Est</th>
										<td >52266,90 €</td>
										<td>165370,00 €</td>
									  </tr>
									  <tr>
										<th>Nord Ouest</th>
										<td>116038,60 €</td>
										<td>336980,00 €</td>
									  </tr>
									  <tr>
										<th>Sud Est</th>
										<td>76107,50 €</td>
										<td>240030,00 €</td>
									  </tr>
									  <tr>
										<th>Sud Ouest</th>
										<td>49261,20 €</td>
										<td>149070,00 €</td>
									  </tr>
								</tbody>
							</table>
							</div> <!-- Fin Div right -->

							<div class="cleared"></div>
										

		
			</div><!-- Fin Div content --> 
			<div class="cleared"></div>
			
		</div> <!-- Fin div middle -->
			
		<div id="footer"  style="top:130px;">
			<p>Entreprise DARTIES - 2011</p>                         		
		</div>
		<div class="cleared"></div>
	</div> <!-- Fin div page -->
</body>
</html>
